<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{title}}</title>
    <link rel="icon" type="image/x-icon" href="../../frontend/static/favicon.ico">

    <style>
        /* CSS content */
        body {
            font-family: 'Times New Roman', serif;
            font-size: 18px;
            line-height: 1.6;
            color: #333;
            background-color: #fff;
            margin: 0;
            padding: 0;
        }

        .container {
            width: 80%;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            font-family: 'Georgia', serif;
            text-align: center;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 28px;
            font-weight: bold;
        }

        .content .main-image {
            width: 100%;
            height: auto;
            display: block;
            margin: 0 auto 20px;
        }

        .content .article {
            margin-bottom: 20px;
        }

        .content .article p {
            margin-bottom: 15px;
        }

        .footer {
            text-align: center;
            font-size: 14px;
            color: #666;
            border-top: 1px solid #ddd;
            padding-top: 10px;
            margin-top: 30px;
        }

        @media screen and (max-width: 600px) {
            .container {
                width: 95%;
            }

            .header h1 {
                font-size: 24px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header class="header">
            <h1>{{title}}</h1>
        </header>

        <div class="content">
            <article class="article">
                <img class="main-image" src="{{image}}" alt="Article Image">
                <p class="date">{{date}}</p>
                <p>{paragraph1}</p>
                <p>{paragraph2}</p>
                <p>{paragraph3}</p>
                <p>{paragraph4}</p>
                <p>{paragraph5}</p>
            </article>
        </div>

        <footer class="footer">
            <p>© 2023 GPT Newspaper. All Rights Reserved.</p>
        </footer>
    </div>
</body>
</html>
